package org.zk.dubbo_provider.dao;


import org.zk.entity.Catalog;

/**
 * <p>
 * 目录表 Mapper 接口
 * </p>
 *
 * @author Alicelonely
 * @since 2019-12-11
 */
public interface CatalogMapper{
    //添加目录
    int addCatalog(Catalog catalog);

    //根据课程id查询目录
    Catalog getCatalogByCid(int courseId);

    //更新目录
    int updateCatalog(Catalog catalog);
}
